]> dgit.raspbian.org Git - ostree.git/commitdiff
ci: Remove Prow and coreos-ci Jenkins infrastructure
authorJoseph Marrero Corchado <jmarrero@redhat.com>
Mon, 29 Jun 2026 19:30:59 +0000 (15:30 -0400)
committerJoseph Marrero Corchado <jmarrero@redhat.com>
Mon, 29 Jun 2026 19:32:34 +0000 (15:32 -0400)
Remove the legacy CI artifacts that are no longer in use:

- ci/prow/: No-op placeholder Dockerfile and script that were kept
  while waiting for the job to be removed from openshift/release.
  Remove them entirely so Prow stops running on every PR.
- .cci.jenkinsfile: Orphaned coreos-ci Jenkins pipeline. Not
  referenced by anything in the repo and superseded by GitHub
  Actions and Konflux.
- ci/installdeps.sh: Remove stale comment referencing the Prow job.

The Prow job was already removed from openshift/release:
https://github.com/openshift/release/pull/81042

.cci.jenkinsfile [deleted file]
ci/installdeps.sh
ci/prow/Dockerfile [deleted file]
ci/prow/fcos-e2e.sh [deleted file]

diff --git a/.cci.jenkinsfile b/.cci.jenkinsfile
deleted file mode 100644 (file)
index 6804e52..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-// Documentation: https://github.com/coreos/coreos-ci/blob/main/README-upstream-ci.md
-
-properties([
-  // abort previous runs when a PR is updated to save resources
-  disableConcurrentBuilds(abortPrevious: true)
-])
-
-stage("Build") {
-  def n = 5
-  buildPod(memory: "2Gi", cpu: "${n}") {
-      checkout scm
-      stage("Static analysis") {
-          shwrap("./ci/codestyle.sh")
-      }
-      stage("Core build") {
-        shwrap("""
-          # fetch tags so `git describe` gives a nice NEVRA when building the RPM
-          git fetch origin --tags
-          git submodule update --init
-
-          env MAKE_JOBS=${n} ./ci/build.sh
-        """)
-      }
-      stage("Unit tests") {
-        try {
-          shwrap("""
-            make -C target/c check
-          """)
-        } finally {
-            shwrap("cat test-suite.log || true")
-            archiveArtifacts allowEmptyArchive: true, artifacts: 'test-suite.log'
-        }
-      }
-      stage("Build installed tests") {
-        shwrap("""
-           make -C tests/kolainst
-        """)
-      }
-      stage("Generate artifacts") {
-        shwrap("""
-          make -C target/c install DESTDIR=\$(pwd)/installed/rootfs
-          make -C tests/kolainst install DESTDIR=\$(pwd)/installed/tests
-          bash -c '. /usr/lib/os-release && echo \$VERSION_ID' >\$(pwd)/installed/buildroot-id
-        """)
-      }
-      stash includes: "installed/", name: 'build'
-  }
-}
-
-// Build FCOS and run kola tests.
-// There's some parallelization in testiso up to 8G, add 1G for overhead
-cosaPod(memory: "9Gi", cpu: "4") {
-  stage("Build FCOS") {
-    checkout scm
-    unstash 'build'
-    shwrap("""
-      # Make sure none of the files in the unstashed build are setgid
-      chmod -c -R g-s installed/
-      # Move the bits into the cosa pod (but only if major versions match)
-      buildroot_id=\$(cat installed/buildroot-id)
-      osver=\$(. /usr/lib/os-release && echo \$VERSION_ID)
-      if test \$osver = \$buildroot_id; then
-        rsync -rlv installed/rootfs/ /
-      fi
-      rsync -rlv installed/tests/ /
-      coreos-assembler init --force https://github.com/coreos/fedora-coreos-config
-      mkdir -p overrides/rootfs
-      # And override the on-host bits
-      mv installed/rootfs/* overrides/rootfs/
-      rm installed -rf
-      coreos-assembler build
-      coreos-assembler osbuild qemu metal metal4k live
-    """)
-  }
-  kola(cosaDir: "${env.WORKSPACE}")
-  kolaTestIso(cosaDir: "${env.WORKSPACE}", extraArgs: "--denylist-test *.4k.* --denylist-test *.mpath.*")
-}
index a370f9c9c85e0b2903a0323df186c1d824d5dde7..733c9b23a6d613cc4830efef3efff1228143c609 100755 (executable)
@@ -3,10 +3,7 @@
 
 set -xeuo pipefail
 
-# This is used by our OpenShift Prow job; we use the
-# cosa buildroot container
-# https://github.com/coreos/coreos-assembler/pull/730
-# And using `yum` at all means we can flake on fetching rpm metadata
+# Skip if explicitly requested or if not running as root
 if [ -n "${SKIP_INSTALLDEPS:-}" ] || test "$(id -u)" != 0; then
     exit 0
 fi
diff --git a/ci/prow/Dockerfile b/ci/prow/Dockerfile
deleted file mode 100644 (file)
index f88ce40..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-# Prow CI is being dropped in favor of GHA and Konflux.
-# This is a no-op placeholder until the job is removed from openshift/release.
-# See: https://github.com/ostreedev/ostree/pull/3599#issuecomment-4792307868
-FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
-COPY ci/prow/fcos-e2e.sh /usr/bin/fcos-e2e
-RUN chmod +x /usr/bin/fcos-e2e
diff --git a/ci/prow/fcos-e2e.sh b/ci/prow/fcos-e2e.sh
deleted file mode 100755 (executable)
index dd25cb2..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-# Prow CI is being dropped in favor of GHA and Konflux.
-# This is a no-op placeholder until the job is removed from openshift/release.
-# See: https://github.com/ostreedev/ostree/pull/3599#issuecomment-4792307868
-echo "Prow CI is deprecated for ostree; skipping."